<script setup>
import {ref} from "vue";
import CountDown from "@/components/count-down.vue";
import {throttle} from "lodash";

const isSendBtn=ref(true)

const send=()=>{
  isSendBtn.value=false
  console.log('send')
}
const sendThrottle=throttle(send,2000,{trailing:false})

</script>

<template>
  <el-button @click="sendThrottle">发送</el-button>
</template>

<style lang="scss" scoped>

</style>
